package com.runa.monitor.platinterface.backwork.function;

import com.runa.monitor.platinterface.backwork.impl.WebSocketWriteBack;

import javax.websocket.Session;

public interface WriteBack<S, D> {

    static WriteBack<String, String> createWriteBack(Session session) {
        return new WebSocketWriteBack(session);
    }

    void writeBack(S s, D d, D e);

}
